home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_c
/
cuj0696.zip
/
DWYER.ZIP
/
COUPON.TST
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1996-04-04
|
1KB
|
61 lines
#
# makefile for cupontst.exe and friends
#
.SUFFIXES:
.SUFFIXES: .exe .obj .c
CFLAGS = -nologo $(OPTIMIZ) -W4 -Za -I. -I$(MISC_INCL) $(TEST)
#
# For Large (nay, HUGE) Library
#
LCFLAGS = -AH $(CFLAGS)
OPTIMIZ = -Ot -Gs -Gy # -G2sy#-Od#-qc
LLIBS = $(MISC_LIB)\lmiscsub.lib $(MISC_LIB)\lcephes.lib
MISC_INCL = ..\incl
MISC_LIB = ..\lib
LOPTIONS = /NOI /E /PACKC /F /ST:10240
COUPON_OBJS = cupontst.obj\
cpnchisq.obj\
cupnprob.obj\
gencpnda.obj\
setcupn.obj
.c.obj:
cl -c $(LCFLAGS) $<
.c.exe:
# -cl $(LCFLAGS) -c $<
-cl $(LCFLAGS) $< /link $(LLIBS:.lib=) $(LOPTIONS)
-rm $*.obj
cupontst.exe: $(COUPON_OBJS) $(LLIBS)
cl -nologo $(COUPON_OBJS:.obj=) /link $(LLIBS:.lib=) $(LOPTIONS)
# link /nologo $(LOPTIONS) $(COUPON_OBJS:.obj=),,nul,$(LLIBS:.lib=);
cupontst.obj: cupontst.c cupndefs.h
cpnchisq.obj: cpnchisq.c cupndefs.h
cupnprob.obj: cupnprob.c
gencpnda.obj: gencpnda.c cupndefs.h
setcupn.obj: setcupn.c cupndefs.h
plancupn.exe: plancupn.obj cupnprob.c
calcharm.obj: calcharm.c
calcmnsd.obj: calcmnsd.c
mkdep:
mkdep $(COUPON_OBJS:.obj=.c)
save:
-pkzip -u b:/cupontst *.c *.h *.aux *.awk *.dat *.inp *.out *.sh\
readme.* makefile
xcg:
cat $(COUPON_OBJS:.obj=.c) > e:all.c
xcg $(TMP)all.c | awk -f $(HOME)/extlist.awk | sed s/^........// |\
sed "s/ [.[]..*]$$//" | cat -n > cupontst.xcg
del $(TMP)all.c